package com.jyniubi.core.service;

import com.jyniubi.core.pojo.entity.UserAccount;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.Map;

/**
 * <p>
 * 用户账户 服务类
 * </p>
 *
 * @author jyzhang
 * @since 2024-04-27
 */
public interface UserAccountService extends IService<UserAccount> {

    String recharge(String token, BigDecimal amount);

    String rechargeNotify(Map<String, Object> map);

    String withdraw(String token, BigDecimal amount);

    String notifyWithdraw(HttpServletRequest request);
}
